Recognition

The Character Meta for the Recognition Module.

Functions

characterMeta:doesFakeRecognize(id)

Checks if this character recognizes another character by a fake name. This function determines if the character recognizes another character by a fake name via a specific ID.

Parameters

  • id Integer

    The ID of the character to check fake recognition for. Can be a number or a character object.

Returns

  • boolean

    True if the character is recognized by a fake name, false otherwise.

characterMeta:doesRecognize(id)

Checks if this character recognizes another character. This function determines if the character recognizes another character by checking if they are recognized via a specific ID.

Parameters

  • id Integer

    The ID of the character to check recognition for. Can be a number or a character object.

Returns

  • boolean

    True if the character is recognized, false otherwise.

characterMeta:recognize(character, name)

Recognizes another character. This function allows the character to recognize another character, optionally under a specified fake name.

Parameters

  • character

    The character to be recognized.

  • name String

    Optional. The fake name under which the character is recognized. If nil, recognizes the character by their actual ID.

Returns

  • boolean

    True if the recognition was successful.